package com.vincent.javacourse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 题库表
 * </p>
 *
 * @author admin
 * @since 2021-12-24
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class Question implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 题目序号
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 题目类型
     */
      private String type;

      /**
     * 题目标题
     */
      private String title;

      /**
     * 题目选项
     */
      private String sel;

      /**
     * 题目分值
     */
      private Double score;

      /**
     * 题目答案/关键词
     */
      private String answer;

      /**
     * 创建者
     */
      private String createdby;

      /**
     * 创建时间
     */
      private LocalDateTime createdtime;


}
